//
//  BMPickerViewConfig.h
//  bigmama
//
//  Created by huyuchen on 2017/8/9.
//  Copyright © 2017年 盛成文化. All rights reserved.
//

#ifndef BMPickerViewConfig_h
#define BMPickerViewConfig_h

//按钮点击
typedef void(^BtnClickBlock)();


//日期确认
typedef void(^DateClickBlock)(NSDate *selectedDate);
//日期选择
typedef void(^DateSelectedBlock)(NSDate *selectedDate);


//数据确认,单数据
typedef void(^SingleClickBlock)(NSInteger selectedIndex, NSString *selectedValue);
//数据选择,单数据
typedef void(^SingleSelectedBlock)(NSString *selectedValue);


//数据确认,多数据
typedef void(^MultipleClickBlock)(NSArray *selectedIndexs, NSArray *selectedValues);
//数据选择,多数据
typedef void(^MultipleSelectedBlock)(NSArray *selectedValues);


typedef void(^MultipleAssoCiatedClickBlock)(NSArray *selectedValues);
typedef void(^MultipleAssociatedSelectedBlock)(NSArray *selectedValues);


typedef void(^CancelBlock)();


typedef void(^TextFieldSingleClickBlock)(UITextField *textField,  NSInteger selectedIndex, NSString *selectedValue);
typedef void(^TextFieldMulpitleClickBlock)(UITextField *textField, NSArray *selectedIndexs, NSArray *selectedValues);
typedef void(^TextFieldMulpitleAssociatedClickBlock)(UITextField *textField, NSArray *selectedValues);
typedef void(^TextFieldDateClickBlock)(UITextField *textField, NSDate *selectedDate);
typedef UIView *(^SetupPickerViewBlock)();


typedef void(^DateClickBlock)(NSDate *selectedDate);

typedef void(^DateDidChangedBlock)(NSDate *selectedDate);

#endif /* BMPickerViewConfig_h */
